home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
CDBL2CLN.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
950b
|
36 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_CDBLtoCLN( cByteStr ) --> nDecimalNum
PARAMETERS:
cByteStr : Eight byte string to convert to decimal value.
SHORT:
Convert C Double to Clipper Numeric.
DESCRIPTION:
_CDBLtoCLN() converts a native eight byte "C" Double Precision Integer to
it's equivalent Clipper NUMERIC. It is used primarily for reading INTEGER
and DECIMAL variables that have been stored in .MEM files.
The cByteStr must be obtained by way of a direct disk-read of bytes, or by
way of a return value from a "C" function.
NOTE:
This function supports _MemToArray() in MEMARRAY.PRG Refer to that
function for usage examples.
EXAMPLE:
******************************************************************************/